//
//  SinaCommon.swift
//  SinaImiate
//
//  Created by xiaoming on 16/7/2.
//  Copyright © 2016年 GoodJob. All rights reserved.
//

import Foundation

///用户需要登录通知
let userNeedLoginSinaNotification = "userNeedLoginSinaNotification"

///用户登录成功通知
let userLoginSuccessedNotification = "userLoginSuccessedNotification"

//MARK: -应用程序信息

///应用程序id
let SIAppleKey = "3079094035"
///应用程序加密信息
let SIAppSecret = "363abbe218cc1c1c436faec63947ca98"
///应用程序回调地址,授权确认或取消后的回调地址
let SIRedirectURI = "http://baidu.com"

// MARK: - 微博配图视图常量
///视图顶部的间距
let SIStatusPictureViewOutterMargin = CGFloat(12)
///每个图片之间的间距
let SIStatusPictureViewInnerMargin = CGFloat(3)
///总view的宽度
let SIStatusPictureViewWidth = UIScreen.cz_screenWidth() - 2 * SIStatusPictureViewOutterMargin
///每个图片的宽度
let SIStatusPictureItemWidth = (SIStatusPictureViewWidth - 2 * SIStatusPictureViewInnerMargin) / 3

// MARK: - 照片浏览通知定义
/// cell浏览图片通知
let SIStatusCellBrowserPhotoNotification = "SIStatusCellBrowserPhotoNotification"
/// 选中索引 key
let SIStatusCellBrowserPhotoSelectedIndexKey = "SIStatusCellBrowserPhotoSelectedIndexKey"
/// 父视图的图像视图数组 key
let SIStatusCellBrowserPhotoImageViewsKey = "SIStatusCellBrowserPhotoImageViewsKey"
/// 浏览图片url字符串key
let SIStatusCellBrowserPhotoURLsKey = "SIStatusCellBrowserPhotoURLsKey"
